.btn {
  @apply inline-flex items-center justify-center font-medium transition-all;
  border-radius: 0.375rem;
}

/* 按钮变体 */
.btn-primary {
  @apply bg-primary text-white border border-primary;
}

.btn-primary:hover,
.btn-primary:focus {
  @apply bg-opacity-90 border-opacity-90;
}

.btn-secondary {
  @apply bg-secondary text-text border border-secondary;
}

.btn-secondary:hover,
.btn-secondary:focus {
  @apply bg-opacity-90 border-opacity-90;
}

.btn-outline {
  @apply bg-transparent text-primary border border-primary;
}

.btn-outline:hover,
.btn-outline:focus {
  @apply text-white bg-primary bg-opacity-90 border-opacity-90;
}

.btn-text {
  @apply bg-transparent text-primary border-0;
}

.btn-text:hover,
.btn-text:focus {
  @apply text-opacity-90 bg-transparent;
}

/* 按钮尺寸 */
.btn-small {
  @apply text-xs px-2 py-1 h-8;
}

.btn-medium {
  @apply text-sm px-3 py-2 h-10;
}

.btn-large {
  @apply text-base px-4 py-3 h-12;
}

.btn-full {
  @apply w-full;
}

.btn:disabled {
  @apply opacity-60 cursor-not-allowed;
} 